package org.feifei.pay.service.impl;

import org.feifei.basic.service.impl.BaseServiceImpl;
import org.feifei.pay.domain.AlipayInfo;
import org.feifei.pay.mapper.AlipayInfoMapper;
import org.feifei.pay.service.AlipayInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class AplipayInfoServiceImpl extends BaseServiceImpl<AlipayInfo> implements AlipayInfoService {
    @Autowired
    private AlipayInfoMapper alipayInfoMapper;

    @Override
    public AlipayInfo getByShopId(Long shop_id) {
        return alipayInfoMapper.loadByShopId(shop_id);
    }
}
